﻿using HECore.Tenant.Contract.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HECore.Tenant.Contract.Models.Emoloyees.Dtos
{
    /// <summary>
    /// 员工详情
    /// </summary>
    public class EmployeeDetailsDto
    {
        /// <summary>
        /// 员工Id
        /// </summary>
        public Guid Id { get; set; }
        /// <summary>
        /// 账号Id
        /// </summary>
        public Guid AccountId { get; set; }
        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmployeeFullName { get; set; }
        /// <summary>
        /// 员工邮箱
        /// </summary>
        public string EmployeeEmail { get; set; }
        /// <summary>
        /// 员工状态
        /// </summary>
        public EmployeeStateEnum EmployeeState { get; set; }
        /// <summary>
        /// 租户Id
        /// </summary>
        public Guid TenantId { get; set; }
        /// <summary>
        /// 租户名称
        /// </summary>
        public string TenantName { get; set; }
        /// <summary>
        /// 租户Logo
        /// </summary>
        public string TenantLogo { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 是否超级管理员
        /// </summary>
        public bool IsAdministrator { get; set; }
        /// <summary>
        /// 权限值
        /// </summary>
        public List<string> Permissions { get; set; }
    }
}